package com.huiminpay.merchant.convert;

import com.huiminpay.merchant.entity.App;
import com.yh.huiminpay.merchant.dto.AppDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface AppCovert {
    AppCovert INSTANCEE= Mappers.getMapper(AppCovert.class);

    //支付参数设置(创建应用实体类转换)
    AppDTO entity2dto(App entity);
    App dto2entity(AppDTO dto);
    List<AppDTO> listentity2dto(List<App> app);
}
